<template>
    <button @click='emit'>触发事件aaa</button>
</template>

<script>
export default {
    name:'',
    components:{},
    props:{},
    data() {
        return{}
    },
    computed: {},
    watch: {},
    created() {},
    mounted() {},
    activated() {},
    beforeDestroy() {},
    methods: {
        emit(){
            this.$eventChannel.emit('setName22')
        },
    },
}
</script>

<style lang="scss" scoped>
</style>